package com.runshu.newsmartark.mvp.contract;

import com.runshu.newsmartark.network.netbean.ResponseBean;
import com.runshu.newsmartark.network.netinterface.BaseCallBack;

/**
 * Demo class
 *
 * @author yu
 * @date 2020/11/2
 * @decs：
 */

public interface ProductTypeDtaContract {
    interface Model {
        void getCategoryList(String macAddress, int type, BaseCallBack baseCallBack);

        void getStockSel(String macAddress, int type, BaseCallBack baseCallBack);

        void getManufacturerSel(String macAddress, int type, BaseCallBack baseCallBack);

        void getModelSel(String macAddress, int type, BaseCallBack baseCallBack);

        void  getStockType(String customerId,String hospitalId,BaseCallBack baseCallBack);
    }

    interface View {
        void onGetCategoryListSuccess(ResponseBean responseBean);

        void onGetStockSelSuccess(ResponseBean responseBean);

        void onManufacturerSelSuccess(ResponseBean responseBean);

        void onModelSelSuccess(ResponseBean responseBean);

        void onGetStockTypeSuccess(ResponseBean responseBean);

        void onError(String msg);
    }

    interface Presenter {
        void getCategoryList(String macAddress, int type);

        void getStockSel(String macAddress, int type);

        void getManufacturerSel(String macAddress, int type);

        void getModelSel(String macAddress, int type);

        void  getStockType(String customerId,String hospitalId);


    }
}
